/*
 * show.css
 *
 */

.main {
    position: relative;
    padding: 5% 0;
    font-size: 14px;

    ul {
        margin: 10px 0 10px;
        padding: 0 5%;
        li {
            float: left;
            width: 47.5%;
            margin-right: 5%;
            margin-bottom: 15px;
            list-style: none;
            &:nth-child(2n){
                margin-right: 0;
            }
            a {
                display: table-cell;
                vertical-align: middle;
                height: 40%;
                text-align: center;
                border: 1px solid #fff;
                border-radius: 8px;
                overflow: hidden;
                margin: 0 auto 10px;
                background-color: #000;
            }
            img {
                width: 100%;
                background: #000;
                vertical-align: middle;
                overflow: hidden;
            }
            p {
                margin: 5px 0;
            }
        }
    }
    .more {
        display: block;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        color: #fff;
        text-align: center;
        text-decoration: none;
        margin: 10px 0 40px;
    }

    .search-box {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 50px;
        padding: 5px 0;
        color: #fff;
        font-size: 12px;
        background-color: #29353d;
 
        a {
            position: absolute;
            width: 40px;
            color: #fff;
            text-align: center;
            text-decoration: none;
            &.home {
                left: 10px;
            }
            &.search {
                right: 30px;
            }
        }
        .search-icon {
            background: url(../images/home.png) no-repeat center 0;
            background-size: 25px;
            padding-top: 25px;
            &.search {
                background-image: url(../images/search.png);
            }
        }

        input {
            position: absolute;
            left: 50%;
            top: 7px;
            margin-left: -32.5%;
            display: block;
            width: 60%;
            height: 36px;
            line-height: 30px;
            padding: 3px 10px;
            border-radius: 20px;
            border-style: none;
            background-color: #fff;
            color: #333;
        } 
    }
}

